//
//  AXFRefundAndServiceViewController.m
//  MineOrderUI
//
//  Created by mac2 on 16/11/21.
//  Copyright © 2016年 mac2. All rights reserved.
//

#import "AXFRefundAndServiceViewController.h"
#import "EmptyOrder.h"
#import "AXFWhiteNavView.h"

@interface AXFRefundAndServiceViewController () <AXFWhiteNavViewDelegate>

@end

@implementation AXFRefundAndServiceViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
}
//添加navigationController
-(void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
//    self.navigationController.navigationBar.hidden = NO;
}


-(void)setupUI{
	
	
    self.navigationItem.title = @"退款/售后";
    EmptyOrder *emptyOrderView = [[EmptyOrder alloc]init];
    self.view  = emptyOrderView;
	
	AXFWhiteNavView *whiteNavView = [[AXFWhiteNavView alloc] init];
	
	[whiteNavView setTitleName:@"退款/售后" andFunctionName:nil];
	
	whiteNavView.delegate = self;
	
	[self.view addSubview:whiteNavView];
	
	[whiteNavView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.left.right.top.offset(0);
		make.height.mas_equalTo(kNAVBARH + 20);
	}];
}

- (void)backToViewController
{
	[self.navigationController popViewControllerAnimated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
